#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QCamera>
#include <QCameraViewfinder>
#include <userdialog.h>
#include <capturethread.h>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

protected:
    QCamera* camera;
    QCameraViewfinder* viewfinder;
    UserDialog* userDialog;
    CaptureThread* captureThread;

private:
    Ui::Widget *ui;
};

#endif // WIDGET_H
